<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="../assets/css/base.css">
  <style>
    .red {
      /* 标准流元素 */
      width: 300px;
      height: 300px;
      background-color: red;
    }

    .orange {
      /* 浮动元素 */
      float: left;
      width: 200px;
      height: 200px;
      background-color: orange;
    }

    .yellow {
      /* 定位元素 */
      position: absolute;
      width: 100px;
      height: 100px;
      background-color: yellow;
    }
  </style>
</head>

<body>
  <!-- 标准流元素 < 浮动元素 < 定位元素 -->
  <div class="yellow"></div>
  <div class="orange"></div>
  <div class="red"></div>
</body>

</html>